import 'package:flutter/material.dart';
import 'package:flutter_repo/chapter06/unit04/test_scroll_controller_page.dart';
import 'package:flutter_repo/chapter06/unit04/test_scroll_notification_page.dart';
import 'package:flutter_repo/widgets/cell.dart';

class Unit04 extends StatelessWidget {
  const Unit04({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text("Unit03"),),
      body: Container(
        padding: const EdgeInsets.symmetric(vertical: 20),
        child: ListView(
          children: const [
            Cell(title: "test scroll controller", routePage: TestScrollControllerPage(),),
            Cell(title: "test scroll notification", routePage: TestScrollNotificationPage(),),
          ],
        ),
      ),
    );
  }
}